 <script src="${ctxPath}/static/assets/js/echarts.min.js"></script>
    <link rel="stylesheet" href="${ctxPath}/static/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="${ctxPath}/static/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="${ctxPath}/static/assets/css/app.css">
    <script src="${ctxPath}/static/assets/js/jquery.min.js"></script>
<link rel="stylesheet" href="${ctxPath!}/static/ztree/metro.css" />
	<link rel="stylesheet" href="${ctxPath}/static/validate/css/validform.css" />
	<link rel="stylesheet" href="${ctxPath!}/static/css/custom.css" />
	
		<link rel="stylesheet" href="${ctxPath!}/static/css/font-awesome.min.css" />
		
		<link rel="stylesheet" href="${ctxPath!}/static/chosen/chosen.min.css" />
		
	
		<!--[if lte IE 9]>
			<link rel="stylesheet" href="${ctxPath!}/static/ace/css/ace-part2.min.css" />
		<![endif]-->
		
		<link rel="stylesheet" href="${ctxPath!}/static/css/datepicker.css" /><!-- 日期框 -->
		<link rel="stylesheet" href="${ctxPath!}/static/jquery-tags-input/jquery.tagsinput.css" />


<script src="${ctxPath!}/static/js/history.js"></script>
	<script type="text/javascript" src="${ctxPath!}/static/layer/layer.js"></script>
	<!-- <script type="text/javascript" src="${ctxPath!}/static/layer/layer.min.js"></script> -->
	<script type="text/javascript" src="${ctxPath!}/static/js/spin.min.js"></script>
	<script type="text/javascript" src="${ctxPath!}/static/ztree/jquery.ztree.all-3.5.min.js"></script>
	<script type="text/javascript" src="${ctxPath!}/static/js/jquery.autosize.min.js"></script>
	<script type="text/javascript" src="${ctxPath!}/static/chosen/chosen.jquery.min.js"></script>
	<script type="text/javascript" src="${ctxPath}/static/validate/Validform_v5.3.2_min.js"></script>
	<script type="text/javascript" src="${ctxPath}/static/js/jquery.form.js"></script>
	<script type="text/javascript" src="${ctxPath}/static/js/bootstrap-contextmenu.js"></script>
	<script type="text/javascript" src="${ctxPath}/static/js/jquery.nicescroll.min.js"></script>
	<script type="text/javascript" src="${ctxPath}/static/js/public.js"></script>
<div class="layer">
 <!-- 内容区域 -->
       
        
            <div class="row-content am-cf">
              
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title am-fl">边框表单</div>
                                <div class="widget-function am-fr">
                                    <a href="javascript:;" class="am-icon-cog"></a>
                                </div>
                            </div>
                            <div class="widget-body am-fr">
	<form name="FormPost" id="area-save" class="FormGrid"  method="post"
		action="${ctxPath}/sysArea/save" >
		
		<input type="hidden" value="${area.id!}" name="id"/>
		<input type="hidden" value="${pArea.parentIds!}" name="parentIds" />
		<input type="hidden" value="${area.parentIds!}" name="oldParentIds" />
		 <div class="am-form-group">
              <label for="password" class="am-u-sm-3 am-form-label">密码 1<span class="tpl-form-line-small-title">Title</span></label>
              <div class="am-u-sm-9">
                  <input type="text" class="tpl-form-input" name="name" value="${area.name!}" placeholder="请输入标题文字">
                  <small>请填写标题文字10-20字左右。</small>
              </div>
          </div>
          <div class="am-form-group">
              <label for="password" class="am-u-sm-3 am-form-label">密码2 <span class="tpl-form-line-small-title">Title</span></label>
              <div class="am-u-sm-9">
                  <input type="text" class="tpl-form-input" name="code" value="${area.code!}" placeholder="请输入标题文字">
                  <small>请填写标题文字10-20字左右。</small>
              </div>
          </div>
          <div class="am-form-group">
              <label for="password" class="am-u-sm-3 am-form-label">密码 3<span class="tpl-form-line-small-title">Title</span></label>
              <div class="am-u-sm-9">
                  @var areaList = dict.getDictListByType("sys_area_type");
					<#select name="type">
						@for(item in areaList){
							<option value="${item.value!}" ${decode(item.value,area.type!,"selected","")}>
							${item.label!}
							</option>
						@}
					</#select>
              </div>
          </div>
          <div class="am-form-group">
              <label for="password" class="am-u-sm-3 am-form-label">密码4 <span class="tpl-form-line-small-title">Title</span></label>
              <div class="am-u-sm-9">
                  <#treeselect url="sysArea/tree" modelNameValue="${pArea.name!}" 
							modelIdValue="${pArea.id!0}" selectIds="${pArea.id!}"
							curId="${area.id!}" />
              </div>
          </div>
          
		
	</form>
	</div>
                        </div>
                    </div>
               

            </div>
        
</div>
<#save formId="area-save" />

<script type="text/javascript">

//描述框自动扩张高度
$('textarea[class*=autosize]').autosize({append: "\n"});

</script>